package com.wtwd.device.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author mjy
 * @since 2021-09-23
 */
public class Medal implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 勋章的电量时间类型
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 勋章图片
     */
    private String medalImg;

    /**
     * 1.步数，2.跑步，3.骑行，4热量
     */
    private Integer type;

    /**
     * 勋章的电量时间类型，1:某日最高，2：累计达到
     */
    private Integer timeType;

    /**
     * 达标值
     */
    private Integer upToStandard;

    /**
     * 达标值单位
     */
    private String unit;

    /**
     * 详细描述
     */
    private String describe;

    /**
     * 是否展示
     */
    private Integer show;

    /**
     * 上传徽章时间
     */
    private Long uploadTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getMedalImg() {
        return medalImg;
    }

    public void setMedalImg(String medalImg) {
        this.medalImg = medalImg;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getTimeType() {
        return timeType;
    }

    public void setTimeType(Integer timeType) {
        this.timeType = timeType;
    }

    public Integer getUpToStandard() {
        return upToStandard;
    }

    public void setUpToStandard(Integer upToStandard) {
        this.upToStandard = upToStandard;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public Integer getShow() {
        return show;
    }

    public void setShow(Integer show) {
        this.show = show;
    }

    public Long getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Long uploadTime) {
        this.uploadTime = uploadTime;
    }

    @Override
    public String toString() {
        return "Medal{" +
        "id=" + id +
        ", medalImg=" + medalImg +
        ", type=" + type +
        ", timeType=" + timeType +
        ", upToStandard=" + upToStandard +
        ", unit=" + unit +
        ", describe=" + describe +
        ", show=" + show +
        ", uploadTime=" + uploadTime +
        "}";
    }
}
